package com.delicious.dao;

import java.util.List;

import com.delicious.entity.Foods;

public interface FoodsDao {
	List<Foods> getFoodsByPaging(int pageNum,int pageSize);
	Foods getFoodByID(int id);
	List<Foods> getAllFoods(int id ,String name);
	List<Foods> getFoodsByNameAndCid(int pageNum,int pageSize,String name ,int cid);
	boolean deleteDataById(int id);
	boolean updateDate(Foods food);
	boolean checkFoods(String name);
}
